From 51dfdb01add6762cd3f992d942f1f9f8a4f359d1 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 14 Dec 2009 07:58:47 +0000 Subject: [PATCH] xend: fix a typo introduced by changeset 20621:f9392f6eda79 Signed-off-by: Dexuan Cui --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index ded9e11a7a..d6e7f69f61 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -2672,7 +2672,7 @@ class XendDomainInfo: for i in range(0, nr_nodes): nodeload[i] = int(nodeload[i] * 16 / len(info['node_to_cpu'][i])) if len(info['node_to_cpu'][i]) == 0 or i not in node_list: - nodelist[i] += 8 + nodeload[i] += 8 return map(lambda x: x[0], sorted(enumerate(nodeload), key=lambda x:x[1])) info = xc.physinfo() -- 2.30.2